package com.arturjaneczko.main;

import java.io.FileNotFoundException;
import java.io.IOException;

import com.arturjaneczko.controller.impl.Controller;
import com.arturjaneczko.model.impl.Model;
import com.arturjaneczko.services.impl.state.OperatingClipboardMode;
import com.arturjaneczko.view.impl.View;

public class Main {

	public static void main(String[] args) throws FileNotFoundException, IOException {
		OperatingClipboardMode operatingMode = new OperatingClipboardMode();
		Controller controller = new Controller(operatingMode);
		Model model = new Model();
		View view = new View(model);
		controller.setModel(model);
		controller.setView(view);
		controller.start();
	}

}
